package com.ztsoft.user.service.project;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ztsoft.user.pojo.dto.ModelFileFileDTO;
import com.ztsoft.user.pojo.entity.project.PModel;
import com.ztsoft.user.pojo.page.PageQuery;
import com.ztsoft.user.utils.Result;

import java.io.File;

public interface ModelService extends IService<PModel> {

    Result<Object> list(PModel bo, PageQuery pageQuery);

    Result<Object> modelOne(String id);

    Result<Object> add(PModel bo);

    Result<Object> update(PModel bo);

    Result<Object> delete(String[] ids);

    File sendFile(ModelFileFileDTO modelFileFileDTO);
}
